package com.aspose.cells;

class zbxm extends zcdb {
   zbxm() {
      this.d = 360;
   }

   void a(zbqg var1) throws Exception {
      byte var2 = 2;
      int var8;
      if (var1.a() == 0) {
         var8 = var2 + 12;
         var8 += 4;
         this.c = new byte[var8];
         byte[] var3 = new byte[]{-1, -1, -1, -1};
         System.arraycopy(com.aspose.cells.b.a.zc.a((short)0), 0, this.c, 0, 2);
         byte var4 = 2;
         int var10 = zcch.a(this.c, var4, "rId1");
         System.arraycopy(var3, 0, this.c, var10, 4);
      } else {
         String[] var5;
         String[] var6;
         byte var7;
         String var9;
         String var11;
         int var12;
         if (var1.a() == 3) {
            var9 = null;
            var11 = null;
            var5 = new String[]{var11};
            var6 = new String[]{var9};
            var1.a(var5, var6);
            var11 = var5[0];
            var9 = var6[0];
            var8 = var2 + 8 + var9.length() * 2 + var11.length() * 2;
            this.c = new byte[var8];
            System.arraycopy(com.aspose.cells.b.a.zc.a((short)1), 0, this.c, 0, 2);
            var7 = 2;
            var12 = zcch.a(this.c, var7, var9);
            zcch.a(this.c, var12, var11);
         } else {
            var9 = null;
            var11 = null;
            var5 = new String[]{var11};
            var6 = new String[]{var9};
            var1.b(var5, var6);
            var11 = var5[0];
            var9 = var6[0];
            var8 = var2 + 16 + var11.length() * 2;
            this.c = new byte[var8];
            System.arraycopy(com.aspose.cells.b.a.zc.a((short)2), 0, this.c, 0, 2);
            var7 = 2;
            var12 = zcch.a(this.c, var7, "rId1");
            zcch.a(this.c, var12, var11);
         }
      }

   }
}
